package com.scau.service;

import com.scau.entity.Counselor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface CounselorService {
    void add(Counselor counselor);

    void login(String address, Counselor counselor);

    Counselor findOne(Long counselorId);

    Page<Counselor> findAll(Counselor counselor, Pageable pageable);

    Counselor update(Counselor counselor);

    void delete(Long counselorId);
}
